<template>
  <div class="fullPage">
    <back-home></back-home>
    <canvas id="canv"></canvas>
  </div>
</template>

<script>
import './dat.gui.min.js';
import wallPaper from './script.js';
import backHome from 'c/backHome';


export default {
  components: {
    backHome
  },
  data() {
    return {
      
    };
  },
  // created() {
  //   this.init()
  // },
  mounted() {
    this.init()
  },
  computed: {},
  methods: {
    init(){
      // import('./script_old.js');
      wallPaper.init('canv')
    }
  }
};
</script>

<style lang='scss' scoped>
.fullPage {
  width: 100%;
  height: 100vh;
  #canv {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
}
</style>
